package com.tarena.lbs.content.service;

import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.pojo.content.dto.ArticleContentDTO;
import com.tarena.lbs.pojo.content.param.ArticleCategoryParam;
import com.tarena.lbs.pojo.content.query.ArticleQuery;

import java.util.HashSet;

public interface ArticleService {
    PageResult<ArticleContentDTO> queryList(ArticleQuery query) throws BusinessException;

    void addArticle(ArticleCategoryParam param) throws  BusinessException;

    HashSet<String> getArticleLables(ArticleQuery query);

    ArticleContentDTO getArticleDetail(String id) throws  BusinessException;
}
